<template>
  <div class="app-container">
    <el-row :gutter="15">
      <el-col :span="8">
        <PlanLeft :active-row="activeRow" @change="changeCurrentRow" />
      </el-col>
      <el-col :span="16">
        <PlanItem :active-row="activeRow" />
      </el-col>
    </el-row>
  </div>
</template>

<script>
import PlanLeft from "./modules/planLeft.vue";
import PlanItem from "./modules/planItem.vue";

export default {
  name: "Dict",
  components: { PlanLeft, PlanItem },
  data() {
    return {
      activeRow: null,
    };
  },
  methods: {
    changeCurrentRow(val) {
      this.activeRow = val;
    },
  },
};
</script>

<style lang="scss" scoped></style>
